Telegram Group & Telegram Channel
20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings



tg-me.com/java_codings/29
Create:
Last Update:

20. Program to Create Multiplication Table.

import java.util.Scanner;

class MultiplicationTable
{

public static void main(String args[])
{

int n, c;
System.out
.println("Enter an integer to print it's multiplication table");

Scanner in = new Scanner(System.in);
n = in.nextInt();
System.out.println("Multiplication table of " + n + " is :-");

for (c = 1; c <= 10; c++)
{
System.out.println(n + "*" + c + " = " + (n * c));
}

}
}

@Cpp_Codings

BY Advance Java πŸ‘¨β€πŸ’»


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_codings/29

View MORE
Open in Telegram


Advance Java ‍ Telegram | DID YOU KNOW?

Date: |

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Advance Java ‍ from in


Telegram Advance Java πŸ‘¨β€πŸ’»
FROM USA